Skip to content

chore: roll driver to 1.60.0#3313

Merged
dgozman merged 2 commits into
microsoft:mainfrom
dgozman:roll-1.60
May 14, 2026
Merged

chore: roll driver to 1.60.0#3313
dgozman merged 2 commits into
microsoft:mainfrom
dgozman:roll-1.60

Conversation

@dgozman
Copy link
Copy Markdown
Collaborator

@dgozman dgozman commented May 13, 2026

Summary

  • Roll Playwright driver to 1.60.0
  • New APIs: Browser.Context event, BrowserContext lifecycle events (PageLoad/PageClose/FrameAttached/FrameDetached/FrameNavigated/Download), Locator.DropAsync, Locator.HighlightAsync (now returns IAsyncDisposable, accepts style), Locator.HideHighlightAsync, Page.HideHighlightAsync, Tracing.StartHarAsync/StopHarAsync, PageAssertions.ToMatchAriaSnapshotAsync, WebSocketRoute.Protocols, WebError.Location, APIRequestContext.Tracing, ConnectOverCDPOptions.NoDefaults, GetByRoleOptions.Description, AriaSnapshotOptions.Boxes, LocatorAssertionsToHaveCSSOptions.Pseudo.
  • HAR protocol moved from BrowserContext to Tracing channel; switched from zip flag to harPath/resourcesDir; export now goes through entries/archive modes.
  • Expect received wire shape is now { value, ariaSnapshot? }; aria snapshot surfaces in failure messages.
  • Removed ExposeBindingAsync IJSHandle overloads and the Handle binding option, matching upstream.

dgozman added 2 commits May 13, 2026 11:29
Ported changes:
- feat(browser): browser.on(context) (#40315)
- feat(browsercontext): mirror Page lifecycle events on BrowserContext (#40341)
- feat(locator): drop API for files and clipboard-like data (#40283)
- feat(api): Locator.highlight({ style }), Page.hideHighlight, Locator.hideHighlight (#40219, #40215)
- feat(tracing): tracing.startHar / tracing.stopHar (#40159, #40488); HAR protocol moved to Tracing channel and switched from zip flag to harPath
- feat: page version of toMatchAriaSnapshot (#39950)
- feat(expect): include aria snapshot in expect failure messages (#40390)
- feat(route): expose WebSocket subprotocols on WebSocketRoute (#40377)
- feat: Add location() to WebError (#39767)
- feat(connectOverCDP): noDefaults option (#40185)
- feat(locator): description option on getByRole (#40083)
- feat(aria-snapshot): boxes option (#40389)
- feat(expect): pseudo-element option on toHaveCSS (#40092)
- chore: removed exposeBinding IJSHandle overloads to match upstream
- Suppress APICompat baseline errors for removed types (BrowserContextExposeBindingOptions, PageExposeBindingOptions) and changed signature (ILocator.HighlightAsync()).
- Update trace-viewer ListView role assertions: AriaRole.List/Listitem changed to Listbox/Option upstream (microsoft/playwright#40393).
- launchServer test fixture: pass host: '127.0.0.1' explicitly; v1.60 defaults to 'localhost' which can bind IPv6-only on dual-stack Linux runners (microsoft/playwright#40500).
@dgozman dgozman merged commit 9c36b8d into microsoft:main May 14, 2026
39 of 43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants